package com.funmi.lizip.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author yeyg
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ec_patrol_ledger")
public class PatrolLedger implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 是否删除 1:删除
     */
    @TableField(value = "is_delete",select = false)
    @TableLogic
    private Boolean delete;

    /**
     * 日志时间
     */
    private LocalDateTime createAt;

    /**
     * 日志名称
     */
    private String title;

    /**
     * 日志内容
     */
    private String content;

    /**
     * 护林员id
     */
    private String rangerId;

    /**
     * 护林员名称
     */
    private String rangerName;


}
